/*
 * Author: Liviu Patrasco
 * TCSS 342 Winter qrt
 * May 22, 2011
 * Scheduler-svn
 * 
 * V 5-31-2011
 * (Michael) Changed Constructor and added getName method
 */
package main;

/**
 * Advisor class.
 * <br><br>
 * Invariant: getName() != null
 * @author Liviu Patrasco
 * @version May 22, 2011
 */
public class Advisor extends DataUser{

  private String my_name;
  
	/**
	 * Constructor.
	 */
	public Advisor(String the_userName, String the_pswrd, String the_name) {
		super(the_userName, the_pswrd);
		my_name = the_name;
	}
	
	/**
	 * Returns the name of the advisor.
	 */
	public String getName() {
	  return my_name;
	}
}
